<?php require_once 'common/header.php';?>
<div id="middle">
<div style="margin:6px auto; width:950px; clear:both;"></div>
<div style="margin:0 auto;width:930px; ">
<script type="text/javascript">
function RefreshImage()
{
    var el =document.getElementById("captcha");
    el.src=el.src+'/';// 这个特别重要
}
</script>
<?php echo $form_hint->Message;?>
<br>
<form method="POST" action="<?php echo siteUrl('login/login')?>">
<table>
<tr><td>姓名：</td><td><input type="text" name="UserName" value="<?php echo $form_data->UserName;?>"/><?php echo $form_hint->UserName;?></td></tr>
<tr><td>手机号：</td><td><input type="text" name="Mobile" value="<?php echo $form_data->Mobile;?>"/><?php echo $form_hint->Mobile;?></td></tr>
<tr>
	<td>查询位置：</td>
	<td>
		<select name="Channel">
		<option value="0">请选择</option>
		<option value="3" <?php if($form_data->Channel==3) echo "selected"?>>国谊学校</option>
		<option value="4" <?php if($form_data->Channel==4) echo "selected"?>>莲花书院</option>
		<option value="1" <?php if($form_data->Channel==1) echo "selected"?>>夏令营、冬令营</option>
		</select>
		<?php echo $form_hint->Channel;?>
	</td>
</tr>
<tr><td>验证码:</td><td><input type="text" name="Captcha" value="<?php echo $form_data->Captcha;?>"/><img style="vertical-align:middle; cursor:pointer;" src="<?php echo siteUrl('Login/showCaptcha')?>" id="captcha"  onmouseup="RefreshImage()"/> 
						<a onclick="RefreshImage()" style="cursor:pointer;">看不清楚换一张 </a><br><?php echo $form_hint->Captcha;?>
					</td></tr>
<tr><td>&nbsp;</td><td><input type="submit" name="submint" value="查询"></td></tr>
</table>
</form>
</div>
</div>
<?php require_once 'common/footer.php';?>